﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Cenovnik.aspx.cs" Inherits="Cenovnik" MasterPageFile="~/MasterPage.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    ЦЕНОВНИК<br />
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" DataKeyNames="ID" DataSourceID="AccessDataSource1" 
        EnableModelValidation="True" ForeColor="#333333" GridLines="None">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" 
                ReadOnly="True" SortExpression="ID" />
            <asp:BoundField DataField="Grad" HeaderText="Grad" SortExpression="Grad" />
            <asp:BoundField DataField="Cena_na_kuka" HeaderText="Cena_na_kuka" 
                SortExpression="Cena_na_kuka" />
            <asp:BoundField DataField="Danok_za_kuka" HeaderText="Danok_za_kuka" 
                SortExpression="Danok_za_kuka" />
            <asp:BoundField DataField="Cena_na_hotel" HeaderText="Cena_na_hotel" 
                SortExpression="Cena_na_hotel" />
            <asp:BoundField DataField="Danok_za_hotel" HeaderText="Danok_za_hotel" 
                SortExpression="Danok_za_hotel" />
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    </asp:GridView>
    <asp:AccessDataSource ID="AccessDataSource1" runat="server" 
        DataFile="~/App_Data/Baza.mdb" SelectCommand="SELECT * FROM [Cenovnik]">
    </asp:AccessDataSource>
</asp:Content>